package com.huo.service;

import com.huo.pojo.OrderSetting;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface OrderSettingService {

    /**
     * @Description: 批量添加预约设置信息
     * @Author: 汪青松
     * @Param: [list]
     * @Return: void
     * @CreateDate: 2021/1/30 18:07
     */
    void add(List<OrderSetting> list);

    /**
     * @Description: 根据月份查找预约设置列表
     * @Author: 汪青松
     * @Param: [date]
     * @Return: java.util.List<com.huo.pojo.OrderSetting>
     * @CreateDate: 2021/2/1 22:28
     */
    List<Map> getOrderSettingByMonth(String date);

    /**
     * @Description: 根据指定日期修改可预约人数
     * @Author: 汪青松
     * @Param: [orderSetting]
     * @Return: void
     * @CreateDate: 2021/2/2 18:38
     */
    void editNumberByDate(OrderSetting orderSetting);
}
